import http from '../utils/http';

export const usersListModel = async () => {
  try {
    let {
      result
    } = await http({
      url: 'api/users'
    });
    return result;
  } catch (err) {
    console.log(err);
  }
}